package com.cloud.api.domain.stats;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * OLAP
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_areal_distribution")
@Schema(name = "ArealDistribution", description = "区域分布统计表")
public class ArealDistribution implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "vin")
    @TableField("vin")
    private String vin;

    @Schema(description = "车辆类型")
    @TableField(exist = false)
    private String vehicleType;

    @Schema(description = "定位时间")
    @TableField("op_time")
    private LocalDateTime opTime;

    @Schema(description = "车辆位置")
    @TableField("address")
    private String address;

    @Schema(description = "省份")
    @TableField("province")
    private String province;

    @Schema(description = "城市")
    @TableField("city")
    private String city;

    @Schema(description = "车型")
    @TableField("model_name")
    private String modelName;

    @Schema(description = "车型id")
    @TableField("model_id")
    private String modelId;

    @Schema(description = "车牌号")
    @TableField("license_number")
    private String licenseNumber;

    @Schema(description = "组织机构")
    @TableField("dept_name")
    private String deptName;

    @Schema(description = "组织机构id")
    @TableField("dept_id")
    private String deptId;
}
